package networking.messages.teamMessages;

import logic.common.team.Fraction;
import logic.common.team.teamListeners.TeamValueType;
import networking.messages.SimpleMessage;

public class TeamValueMessage extends SimpleMessage {

	private Fraction fraction;
	private TeamValueType type;
	private int value;
	
	public TeamValueMessage() {
		super();
	}

	public TeamValueMessage(Fraction fraction, TeamValueType type, int value) {
		super();
		this.fraction = fraction;
		this.type = type;
		this.value = value;
	}
	
	public Fraction getFraction() { return fraction; }
	
	public TeamValueType getType() { return type; }
	
	public int getValue() { return value; }
}